import { EggAppConfig, PowerPartial } from 'egg';
import { development } from '../database/config.json';
export default () => {
  const config: PowerPartial<EggAppConfig> = {};
  config.sequelize = {
    dialect: 'mysql',
    host: development.host,
    port: development.port,
    database: development.database,
    username: development.username,
    password: development.password,
  };
  return config;
};
